//
//  AZProgressHUD.m
//  AZBLE
//
//  Created by AZ-Mac on 2017/4/28.
//  Copyright © 2017年 AZ-Mac. All rights reserved.
//

#import "AZProgressHUD.h"

@implementation AZProgressHUD
+ (void)showInfoWithStatus:(NSString *)status
{
    [super showInfoWithStatus:status];
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW,(int64_t)(1.0*NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        [self dismiss];
    });
}
+ (void)showSuccessWithStatus:(NSString *)status
{
    [super showSuccessWithStatus:status];
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW,(int64_t)(1.0*NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        [self dismiss];
    });
}
@end
